package com.ruoyi.match.mapper;

import com.ruoyi.match.domain.UserTag;
import com.ruoyi.match.domain.vo.UserInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoMapper {

    public UserInfoVo selectUserInfo(Long userId);


    Long selectUserId(String userName);


    void updateUserInfo(UserInfoVo userInfoVo);

    int checkPhoneUnique(@Param("phoneNumber") String phoneNumber, @Param("userId") Long userId);


    int checkEmailUnique(@Param("email") String email, @Param("userId") Long userId);


    int checkNickNameUnique(@Param("nickName") String nickName, @Param("userId") Long userId);
}
